package com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiData.service;

import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiData.entity.SamPoiData;
import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiData.queryParams.SamPoiDataQuaParams;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface SamPoiDataService {
    Map<String, Object> getPage(SamPoiDataQuaParams queParams, int curPage, int pageSize);

    void save(SamPoiData samPoiData);

    void exportExcel(HttpServletResponse response, SamPoiDataQuaParams queryParams);

    String getSamPoiCode(String eventCode);

    SamPoiData findById(String id);

    List<SamPoiData> getSamPoiList(String xsemId);

    void update(SamPoiData samPoiData);

    void delete(String ids);

    List<SamPoiData> getSamPoiListByXstmId(String xstmId);

    Map<String, Object> importExcel(MultipartFile file, String xsemId, String xitmId);

    Map<String, Object> getSamPoiByXsemId(String xsemId, int curPage, int pageSize);

    List<SamPoiData> getAllData(SamPoiDataQuaParams queParams);

    List<SamPoiData> findBySamplingPointName(String samplingPointName,String xsemId);

    List<SamPoiData> getUnassociatedData(String xsemId);
}
